|
|
- Robocode -- API Overview
- AdvancedRobot is a subclass of Robot and the base class for, natch, more advanced robots.
- AdvancedRobot allow you to perform "non-blocking" actions, actions which will not absolutely finish before you get control back
- Instead, with each tick, you can set or change the details of any actions, then call "execute" to perform the actions for that turn
- It then performs these actions all at the same time: this allows you to create non-linear movement and pattern analysis
- Advanced robot allows for custom events, so you can create events like RobotTooCloseToMeForComfort and use them to create complex patterns
|
|